package ch01;

import com.sun.corba.se.impl.encoding.CDROutputObject;

/**
 * @author yang
 * @date 2024-03-29
 */
public class Cat extends Pet{
    private final String name = "猫";

    public String getName() {
        return name;
    }

    public void loud(){
        System.out.println("猫叫");
    }
}
